﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace quanlycd3lop.GUI
{
    public partial class frm_ThueDia : Form
    {
        public frm_ThueDia()
        {
            InitializeComponent();
        }
        quanlycd3lop.BL.cl_ThueDia cltd;
        private void frm_ThueDia_Load(object sender, EventArgs e)
        {
            cltd = new quanlycd3lop.BL.cl_ThueDia(this);
            cltd.hienthi(null, null);
            cltd.set_combobox1();
            cltd.set_combobox2();
        }

        private void bxt_Them_Click(object sender, EventArgs e)
        {
            cltd.themmoi();
            Refresh();
        }

        private void bxt_Xoa_Click(object sender, EventArgs e)
        {
            cltd.xoa();
            Refresh();
        }

        private void bxt_Sua_Click(object sender, EventArgs e)
        {
            cltd.sua();
            Refresh();
        }

        private void bxt_Thoat_Click(object sender, EventArgs e)
        {
            this.Close();
        }


    }
}
